import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/list',
  name: 'System',
  meta: {
    title: '系统设置',
    icon: 'el-icon-s-tools',
    roles: ['admin']
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/system/list'),
      name: 'AccountList',
      meta: {
        title: '账户管理',
        icon: 'list',
        roles: ['admin']
      }
    }
  ]
}

export default systemRouter
